<div id="agentinfo">
    <div class="nav">
        <div class="nav-li focus">市代信息</div>
        <a href="#agent/storeregister">
            <div class="nav-li">门店登记</div>
        </a>
        <a href="#agent/storelist">
            <div class="nav-li">门店列表</div>
        </a>
        <a href="#agent/finance">
            <div class="nav-li">账单详情</div>
        </a>
    </div>
    <hr />
    <div class="agentinfo">
        <table>
            <tr>
                <td colspan="10" class="stitle">
                    基本信息
                </td>
            </tr>
            <tr>
                <td class="title">姓名</td>
                <td class="input">{{agent_info.real_name}}</td>
                <td class="title">生日</td>
                <td class="input">{{agent_info.birthday}}</td>
                <td class="title">手机号</td>
                <td class="input">{{agent.info.mobile_phone}}</td>
                <td class="title">身份证</td>
                <td class="input">{{agent_info.id_card}}</td>
                <td colspan="2" rowspan="2" class="input">
                    <img src="{{agent_info.agent_img||'http://i1.mb5u.com/img/dface.jpg'}}" />
                    <!-- <button onclick="javascript:document.getElementById('agentimg').click()">上传头像</button>
                    <input event-change="{{'$Event.agent.agentinfo.update_img'}}" type="file" accept="image/*" id="agentimg" style="display: none;" /> -->
                </td>
            </tr>
            <tr>
                <td class="title">
                    邮箱
                </td>
                <td class="input">{{agent_info.email}}</td>
                <td class="title">
                    固定电话
                </td>
                <td class="input">{{agent_info.area_code}}-{{agent_info.phone}}</td>
                <td class="title">
                    地址
                </td>
                <td class="input" colspan="3">{{agent_info.address}}</td>
            </tr>
            <tr>
                <td colspan="10" class="stitle">
                    代理信息
                </td>
            </tr>
            <tr>
                <td class="title">
                    公司
                </td>
                <td class="input">{{agent_info.company||'未填写'}}</td>
                <td class="title">
                    代理费用
                </td>
                <td class="input">{{#Fixed agent_info.cost}}</td>
                <td class="title">
                    代理城市
                </td>
                <td class="input" colspan="5">{{agent_info.province_name}} - {{agent_info.city_name}}</td>
            </tr>
            <tr>
                <td class="title">银行卡号</td>
                <td class="input">{{agent_info.bank_number}}</td>
                <td class="title">开户行</td>
                <td class="input">{{agent_info.bank}}</td>
                <td class="title">开户人</td>
                <td class="input">{{agent_info.bank_account}}</td>
                <td class="title">开户网点</td>
                <td class="input" colspan=" 3 ">{{agent_info.bank_branch}}</td>
            </tr>
        </table>
        <table class="noborder">
            <tr>
                <td colspan="2">
                    <h3>修改密码</h3>
                </td>
            </tr>
            <tr>
                <td class="title">
                    旧密码
                </td>
                <td class="input">
                    <input bind-input="{{'$Cache.agent.agentinfo.update_password.old_password'}}" bind-value="{{$Cache.agent.agentinfo.update_password.old_password}}" type="password" placeholder="请输入旧密码" />
                </td>
            </tr>
            <tr>
                <td class="title">
                    新密码
                </td>
                <td class="input">
                    <input bind-input="{{'$Cache.agent.agentinfo.update_password.new_password'}}" bind-value="{{$Cache.agent.agentinfo.update_password.new_password}}" type="password" placeholder="请输入新密码" />
                </td>
            </tr>
            <tr>
                <td class="title">
                    确认新密码
                </td>
                <td class="input">
                    <input bind-input="{{'$Cache.agent.agentinfo.update_password.confirm_new_password'}}" bind-value="{{$Cache.agent.agentinfo.update_password.confirm_new_password}}" type="password" placeholder="请确认新密码" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <button event-click="{{'$Event.agent.agentinfo.update_password'}}">提交</button>
                </td>
            </tr>
        </table>
    </div>
</div>
